package com.shd.edanpei.presenter.contract;


import com.shd.edanpei.ui.adapter.ProductAdapter;
import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.view.RefreshLayout;


public interface ProductContract {

    interface ProductIView extends BaseIView {

        RefreshLayout getRefreshLayout();

        ProductAdapter getAdapter();
    }

    interface ProductIPresenter extends BaseIPresenter {

        void refresh(int type);

        void loadMore(int type);

        /**
         * 判断列表是否还有数据
         */
        void checkList(int type);

        void delete(String id, int position);

    }
}
